import request from '@/utils/request'

/**
 * 登录
 * @param {Object} userForm 用户表单
 * @returns
 */
export const loginActionAPI = (userForm) => {
  return request({
    url: '/api/login',
    data: userForm,
    method: 'POST'
  })
}
